<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title th:replace="common/base::pagetitle"></title>
    <link th:replace="common/base::static"/>
    <link th:replace="common/base::static"/>
    <link rel="stylesheet" href="../static/css/element.ui.2.13.2.index.css">
    <style>
        [v-cloak]{display: none}

        .layui-carousel-ind {
            position: absolute;
            top: -41px;
            text-align: right;
        }

        .layui-carousel ul.layui-row {
            background: #ffffff;
            margin: 0;
        }

        #shortcut ul.layui-row li {
            text-align: center;
            /*width: 87px;*/
        }

        .layui-carousel ul.layui-row li a i {
            display: inline-block;
            width: 100%;
            height: 60px;
            line-height: 60px;
            text-align: center;
            border-radius: 2px;
            font-size: 30px;
            background-color: #F8F8F8;
            color: #333;
            transition: all .3s;
            -webkit-transition: all .3s;
        }

        .wlb-backlog-body {
            display: block;
            padding: 10px 15px;
            background-color: #f8f8f8;
            color: #999;
            border-radius: 2px;
            transition: all .3s;
            -webkit-transition: all .3s;
        }

        .wlb-backlog-body h3 {
            padding-bottom: 10px;
            font-size: 12px;
        }

        .wlb-backlog-body p cite {
            font-style: normal;
            font-size: 30px;
            font-weight: 300;
            color: #009688;
        }
    </style>
</head>
<body>

<div id="home" v-cloak>
    <div id="kPage" class="layui-fluid wlb-fluid-padding15">
        欢迎访问融资信息服务运营管理后台
    </div>

    <div>
        <el-dialog
                title="提示"
                :visible.sync="dialogVisible"
                width="30%"
        >
            <span>为更好为您提供融资服务，平台为您提供了银行授信申请和电子签章服务，系统检测到您还没进行授信，请您尽快完成。
		 申请授信入口：XXXX-XXXX
            </span>
            <span slot="footer" class="dialog-footer">
                 <el-button type="primary" @click="creditIndex">去授信</el-button>
                 <el-button type="danger" @click="dialogVisible = false">推 迟</el-button>
            </span>
        </el-dialog>
    </div>
</div>

<script th:replace="common/base::context"></script>
<script th:replace="common/base::mainjs"></script>
<script src="../static/js/schema/vue.2.6.12.js"></script>
<script src="../static/js/schema/element.ui.index.2.13.2.js"></script>
<!--<script th:replace="common/base::echartjs"></script>-->

<script type="text/javascript" th:inline="javascript">
    var vm = new Vue({
        // 实例名
        el: '#home',
        // 定义数据字段
        data() {
            return {
                dialogVisible: false,
            }
        },
        // 初始化钩子
        mounted() {
            this.layUiInit();
        },
        methods: {
            layUiInit() {
                layui.use(['element', 'carousel', 'laytpl'], function () {
                    var $ = layui.$, element = layui.element, carousel = layui.carousel, laytpl = layui.laytpl;

                    // var area = ['450px', '530px'];
                    //
                    //
                    // layer.open({
                    // 	type: 2
                    // 	, title: '授信申请'
                    // 	, content: api.credit.creditApplicationLayerView
                    // 	, maxmin: true
                    // 	, area: area   // 宽高
                    // 	, yes: function (index, layero) {
                    // 		layer.closeAll();
                    // 	}
                    // });


                });
            },

            /**
             * 跳转授信管理页面
             */
            creditIndex() {
                window.location.href = api.credit.creditApplyIndex;
            }
        }
    })
</script>

</body>
</html>
